package com.etc.entity;

import java.io.Serializable;

/**
 * @Author: 史泽浩
 * @Date: 2019/5/24 16:49
 */
public class Scenic implements Serializable {

    private static final long serialVersionUID = 8984826291270702049L;
    private Integer sid;
    private String title;
    private String grade;
    private String price_min;
    private String comm_cnt;
    /**
     * city's id, you can find most of scenics in this city
     * hash been set to priamrykey
     */
    private Integer cityId;
    private String address;
    private String url;
    private String imgurl;

    @Override
    public String toString() {
        return "Scenic{" +
                "sid=" + sid +
                ", title='" + title + '\'' +
                ", grade='" + grade + '\'' +
                ", price_min='" + price_min + '\'' +
                ", comm_cnt='" + comm_cnt + '\'' +
                ", cityId=" + cityId +
                ", address='" + address + '\'' +
                ", url='" + url + '\'' +
                ", imgurl='" + imgurl + '\'' +
                '}';
    }

    public Scenic(Integer sid, String title, String grade, String price_min, String comm_cnt, Integer cityId, String address, String url, String imgurl) {
        this.sid = sid;
        this.title = title;
        this.grade = grade;
        this.price_min = price_min;
        this.comm_cnt = comm_cnt;
        this.cityId = cityId;
        this.address = address;
        this.url = url;
        this.imgurl = imgurl;
    }

    public Integer getSid() {
        return sid;
    }

    public void setSid(Integer sid) {
        this.sid = sid;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getGrade() {
        return grade;
    }

    public void setGrade(String grade) {
        this.grade = grade;
    }

    public String getPrice_min() {
        return price_min;
    }

    public void setPrice_min(String price_min) {
        this.price_min = price_min;
    }

    public String getComm_cnt() {
        return comm_cnt;
    }

    public void setComm_cnt(String comm_cnt) {
        this.comm_cnt = comm_cnt;
    }

    public Integer getCityId() {
        return cityId;
    }

    public void setCityId(Integer cityId) {
        this.cityId = cityId;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getImgurl() {
        return imgurl;
    }

    public void setImgurl(String imgurl) {
        this.imgurl = imgurl;
    }
}
